import request from '@/utils/request'

export function allList(query) {
  return request({
    url: 'api/hospital/dischargeTable/allList',
    method: 'get',
    params: query
  })
}

export function goList(query) {
  return request({
    url: 'api/hospital/dischargeTable/goList',
    method: 'get',
    params: query
  })
}

export function xiugaiqian(query) {
  return request({
    url: 'api/hospital/dischargeTable/xiugaiqian',
    method: 'get',
    params: query
  })
}

export function tianjiayp(query) {
  return request({
    url: 'api/hospital/drug/tianjiayp',
    method: 'get',
    params: query
  })
}

export function tianjiaxm(query) {
  return request({
    url: 'api/hospital/project/tianjiaxm',
    method: 'get',
    params: query
  })
}

export function drugList(query) {
  return request({
    url: 'api/hospital/drug/drugList',
    method: 'get',
    params: query
  })
}

export function projectList(query) {
  return request({
    url: 'api/hospital/project/projectList',
    method: 'get',
    params: query
  })
}

export function jiaofei(query) {
  return request({
    url: '/api/hospital/dischargeTable/jiaofei',
    method: 'post',
    params: query
  })
}